package com.bdbit.ChargingStation.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import java.io.Serializable;
import java.util.Date;

@Data
@TableName("charging_pile")
public class ChargingPile implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("region_code")
    private String regionCode;

    @TableField("region_name")
    private String regionName;

    @TableField("ele_code")
    private String eleCode;

    @TableField("ele_name")
    private String eleName;

    @TableField("status")
    private Integer status;

    @TableField("ele_old_url")
    private String eleOldUrl;

    @TableField("ele_new_url")
    private String elenewUrl;

    @TableField("type")
    private Integer type;

    @TableField("last_time")
    private Date lastTime;

    // 新增字段
    @TableField("operation_status")
    private String operationStatus;
    
    @TableField("imei")
    private String imei;
    
    @TableField("iccid")
    private String iccid;
}